package cn.edu.hbpu.pojo;

import java.util.List;

public class Student {
    private Long sno;

    private String stuName;

    private String password;

    private String mobile;

    private String headImage;

    private String realName;

    private Long teacherId;

    private List<Role> roles;

    public Student(Long sno, String stuName, String password, String mobile, String headImage, String realName, Long teacherId) {
        this.sno = sno;
        this.stuName = stuName;
        this.password = password;
        this.mobile = mobile;
        this.headImage = headImage;
        this.realName = realName;
        this.teacherId = teacherId;
    }

    public Student() {
        super();
    }

    public Long getSno() {
        return sno;
    }

    public void setSno(Long sno) {
        this.sno = sno;
    }

    public String getStuName() {
        return stuName;
    }

    public void setStuName(String stuName) {
        this.stuName = stuName == null ? null : stuName.trim();
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password == null ? null : password.trim();
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile == null ? null : mobile.trim();
    }

    public String getHeadImage() {
        return headImage;
    }

    public void setHeadImage(String headImage) {
        this.headImage = headImage == null ? null : headImage.trim();
    }

    public String getRealName() {
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName == null ? null : realName.trim();
    }

    public Long getTeacherId() {
        return teacherId;
    }

    public void setTeacherId(Long teacherId) {
        this.teacherId = teacherId;
    }

    public List<Role> getRoles() {
        return roles;
    }

    public void setRoles(List<Role> roles) {
        this.roles = roles;
    }
}